package com.yilin.tms.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.tms.core.entity.user.organize.Department;

import java.util.List;

/**
 * @author liuxu :)
 * @version 1.0
 * @date 2022-10-27 0027
 */
public interface IDepartmentService extends IService<Department> {

    //保存或修改
    Department saveOrUpdateDepartment(Department department);

    //删除部门
    void deleteDepartment(Department department);

    //查部门
    List<Department> getDepartmentList(String organizeId);
}
